package com.rightsidetech.trade.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * td_commodity_user_order
 * @author
 */
public class TdCommodityUserOrder implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 交易渠道：0支付宝1微信2其它
     */
    private Byte tradeChannel;

    /**
     * 用户id
     */
    private Long userInfoId;

    /**
     * 用户姓名
     */
    private String usName;

    /**
     * 手机号
     */
    private String usPhoneNo;

    /**
     * 用户收货地址
     */
    private String usAddress;

    /**
     * 收货地址经度
     */
    private BigDecimal longitude;

    /**
     * 收货地址纬度
     */
    private BigDecimal latitude;

    /**
     * 门店id
     */
    private Long storeId;

    /**
     * 门店编号
     */
    private String storeNo;

    /**
     * 门店名称
     */
    private String storeName;

    /**
     * 创建时间-下单时间
     */
    private Date createdAt;

    /**
     * 修改时间
     */
    private Date updatedAt;

    /**
     * 付款时间
     */
    private Date payTime;

    /**
     * 订单状态,  0-待付款,1-已支付(用户)/待接单,  2-已支付(用户)/已完成, 3-待接单售后申请，4-售后申请, 5-已退款, -1-取消订单
     */
    private Byte orderStatus;

    /**
     * 接单时间
     */
    private Date receiveTime;

    /**
     * 完成时间
     */
    private Date finishTime;

    /**
     * 总价格-分
     */
    private BigDecimal totalAmount;

    /**
     * 优惠金额-分
     */
    private BigDecimal discountAmount;

    /**
     * 实际金额-分
     */
    private BigDecimal actualAmount;

    /**
     * 订单备注
     */
    private String remarks;

    /**
     * 订单类型, 0-上门服务, 1-到店自取
     */
    private Byte orderType;

    /**
     * 代理商id
     */
    private Long agentId;

    /**
     * 代理商名称
     */
    private String agentName;

    /**
     * 代理商编号
     */
    private String agentNumber;

    /**
     * 大区id
     */
    private Long areaId;

    /**
     * 大区名称
     */
    private String areaName;

    /**
     * 订单来源, 0-系统, 1-淘宝, 2-京东, 3-抖音,4-拼多多, 5-天猫, 6-苏宁
     */
    private Byte source;

    /**
     * 其它平台订单编号
     */
    private String otherPaltformsOrderNo;

    /**
     * 赠品邮寄地址
     */
    private String giftAddress;

    /**
     * 售后状态, 0-待审核, 1-已完成,  -1-拒绝， -2-取消申请
     */
/*    private Byte afterServiceStatus;*/

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Byte getTradeChannel() {
        return tradeChannel;
    }

    public void setTradeChannel(Byte tradeChannel) {
        this.tradeChannel = tradeChannel;
    }

    public Long getUserInfoId() {
        return userInfoId;
    }

    public void setUserInfoId(Long userInfoId) {
        this.userInfoId = userInfoId;
    }

    public String getUsName() {
        return usName;
    }

    public void setUsName(String usName) {
        this.usName = usName;
    }

    public String getUsPhoneNo() {
        return usPhoneNo;
    }

    public void setUsPhoneNo(String usPhoneNo) {
        this.usPhoneNo = usPhoneNo;
    }

    public String getUsAddress() {
        return usAddress;
    }

    public void setUsAddress(String usAddress) {
        this.usAddress = usAddress;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getStoreNo() {
        return storeNo;
    }

    public void setStoreNo(String storeNo) {
        this.storeNo = storeNo;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Byte getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Byte orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getActualAmount() {
        return actualAmount;
    }

    public void setActualAmount(BigDecimal actualAmount) {
        this.actualAmount = actualAmount;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Byte getOrderType() {
        return orderType;
    }

    public void setOrderType(Byte orderType) {
        this.orderType = orderType;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getAgentNumber() {
        return agentNumber;
    }

    public void setAgentNumber(String agentNumber) {
        this.agentNumber = agentNumber;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Byte getSource() {
        return source;
    }

    public void setSource(Byte source) {
        this.source = source;
    }

    public String getOtherPaltformsOrderNo() {
        return otherPaltformsOrderNo;
    }

    public void setOtherPaltformsOrderNo(String otherPaltformsOrderNo) {
        this.otherPaltformsOrderNo = otherPaltformsOrderNo;
    }

    public String getGiftAddress() {
        return giftAddress;
    }

    public void setGiftAddress(String giftAddress) {
        this.giftAddress = giftAddress;
    }

    /*public Byte getAfterServiceStatus() {
        return afterServiceStatus;
    }

    public void setAfterServiceStatus(Byte afterServiceStatus) {
        this.afterServiceStatus = afterServiceStatus;
    }*/
}